[INFO] cloning repository https://github.com/mfisk/unscan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfisk/unscan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfisk%2Funscan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfisk%2Funscan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58340b14c450b54cccde4b166f34493d62c7a755
[INFO] checking mfisk/unscan against master#89a99936d9e76a50e8df622e7242190841fd871b for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfisk%2Funscan" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/mfisk/unscan
[INFO] finished tweaking git repo https://github.com/mfisk/unscan
[INFO] tweaked toml for git repo https://github.com/mfisk/unscan written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mfisk/unscan on toolchain 89a99936d9e76a50e8df622e7242190841fd871b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mfisk/unscan already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-ccc v0.3.0
[INFO] [stderr]   Downloaded subsetter v0.2.3
[INFO] [stderr]   Downloaded unicode-bidi-mirroring v0.3.0
[INFO] [stderr]   Downloaded bitstream-io v4.10.0
[INFO] [stderr]   Downloaded imgref v1.12.1
[INFO] [stderr]   Downloaded avif-serialize v0.8.9
[INFO] [stderr]   Downloaded no_std_io2 v0.9.4
[INFO] [stderr]   Downloaded freetype-rs v0.38.0
[INFO] [stderr]   Downloaded rustybuzz v0.18.0
[INFO] [stderr]   Downloaded freetype-sys v0.23.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b
[INFO] running `Command { std: "docker" "start" "a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling built v0.8.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking no_std_io2 v0.9.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking y4m v0.8.0
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking bitstream-io v4.10.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking imgref v1.12.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking zune-core v0.5.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking kurbo v0.12.0
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking zune-jpeg v0.5.15
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking avif-serialize v0.8.9
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking core_maths v0.1.1
[INFO] [stderr]     Checking fax v0.2.7
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]    Compiling libz-sys v1.1.28
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling freetype-sys v0.23.0
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking byteorder-lite v0.1.0
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking time-core v0.1.8
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]     Checking pxfm v0.1.29
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking num-conv v0.2.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking image-webp v0.2.4
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking gif v0.14.2
[INFO] [stderr]     Checking ttf-parser v0.24.1
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking rangemap v1.7.1
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking unicode-ccc v0.3.0
[INFO] [stderr]     Checking unicode-bidi-mirroring v0.3.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking unicode-script v0.5.8
[INFO] [stderr]     Checking rustc-hash v2.1.2
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.10
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking fastrand v2.4.1
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking freetype-rs v0.38.0
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling profiling-procmacros v1.0.18
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking profiling v1.0.18
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking lopdf v0.34.0
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking av1-grain v0.2.5
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]     Checking font-types v0.10.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking rustybuzz v0.18.0
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking read-fonts v0.35.0
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tiff v0.11.3
[INFO] [stderr]     Checking exr v1.74.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ravif v0.13.0
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]     Checking skrifa v0.37.0
[INFO] [stderr]     Checking write-fonts v0.43.0
[INFO] [stderr]     Checking subsetter v0.2.3
[INFO] [stderr]     Checking unscan v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:619:29
[INFO] [stdout]     |
[INFO] [stdout] 619 |                         let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:649:33
[INFO] [stdout]     |
[INFO] [stdout] 649 | ...                   let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_h`
[INFO] [stdout]    --> src/ocr.rs:730:25
[INFO] [stdout]     |
[INFO] [stdout] 730 |                     let old_h = line.words[i].height;
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:619:29
[INFO] [stdout]     |
[INFO] [stdout] 619 |                         let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:649:33
[INFO] [stdout]     |
[INFO] [stdout] 649 | ...                   let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_h`
[INFO] [stdout]    --> src/ocr.rs:730:25
[INFO] [stdout]     |
[INFO] [stdout] 730 |                     let old_h = line.words[i].height;
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wtext`
[INFO] [stdout]    --> src/segment.rs:311:30
[INFO] [stdout]     |
[INFO] [stdout] 311 |     if let (Some(ddir), Some(wtext)) = (diag_dir, word_text) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_wtext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `energy`
[INFO] [stdout]    --> src/segment.rs:732:34
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_ink`
[INFO] [stdout]    --> src/segment.rs:732:72
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_ink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/segment.rs:734:13
[INFO] [stdout]     |
[INFO] [stdout] 734 |         let base = self.seg_start as usize;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fig_label`
[INFO] [stdout]    --> src/font_scan.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 let fig_label = if fe.oldstyle_figures { "OLDSTYLE" } else { "lining" };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fig_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/pdf_out.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_dim`
[INFO] [stdout]    --> src/classifier.rs:830:13
[INFO] [stdout]     |
[INFO] [stdout] 830 |         let max_dim = dims.iter().max().copied().unwrap_or(0);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_dim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wtext`
[INFO] [stdout]    --> src/segment.rs:311:30
[INFO] [stdout]     |
[INFO] [stdout] 311 |     if let (Some(ddir), Some(wtext)) = (diag_dir, word_text) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_wtext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `energy`
[INFO] [stdout]    --> src/segment.rs:732:34
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_ink`
[INFO] [stdout]    --> src/segment.rs:732:72
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_ink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/segment.rs:734:13
[INFO] [stdout]     |
[INFO] [stdout] 734 |         let base = self.seg_start as usize;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ClassifierIndex` is more private than the item `Classifier`
[INFO] [stdout]   --> src/classifier.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub trait Classifier: ClassifierIndex + Send + Sync {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `Classifier` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `ClassifierIndex` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/classifier.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub(crate) trait ClassifierIndex {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nearest_within_factor_brute` is never used
[INFO] [stdout]    --> src/char_index.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn nearest_within_factor_brute(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `precompute_crop_features` is never used
[INFO] [stdout]     --> src/char_index.rs:2459:15
[INFO] [stdout]      |
[INFO] [stdout] 2459 | pub(crate) fn precompute_crop_features(
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cost_fwd`, `cost_rev`, `seg_end`, `max_ink`, and `row_ink` are never read
[INFO] [stdout]    --> src/segment.rs:716:5
[INFO] [stdout]     |
[INFO] [stdout] 715 | struct SeamDp {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 716 |     cost_fwd: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 717 |     cost_rev: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 721 |     seg_end: u32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     max_ink: f32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 725 |     row_ink: Vec<f32>,    // per-row ink fraction for ink_score/delta_ink_score
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `class_label` is never used
[INFO] [stdout]    --> src/font_scan.rs:519:4
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn class_label(c: FontClass) -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fig_label`
[INFO] [stdout]    --> src/font_scan.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 let fig_label = if fe.oldstyle_figures { "OLDSTYLE" } else { "lining" };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fig_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/pdf_out.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_dim`
[INFO] [stdout]    --> src/classifier.rs:830:13
[INFO] [stdout]     |
[INFO] [stdout] 830 |         let max_dim = dims.iter().max().copied().unwrap_or(0);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_dim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ClassifierIndex` is more private than the item `Classifier`
[INFO] [stdout]   --> src/classifier.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub trait Classifier: ClassifierIndex + Send + Sync {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `Classifier` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `ClassifierIndex` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/classifier.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub(crate) trait ClassifierIndex {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nearest_within_factor_brute` is never used
[INFO] [stdout]    --> src/char_index.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn nearest_within_factor_brute(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `precompute_crop_features` is never used
[INFO] [stdout]     --> src/char_index.rs:2459:15
[INFO] [stdout]      |
[INFO] [stdout] 2459 | pub(crate) fn precompute_crop_features(
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cost_fwd`, `cost_rev`, `seg_end`, `max_ink`, and `row_ink` are never read
[INFO] [stdout]    --> src/segment.rs:716:5
[INFO] [stdout]     |
[INFO] [stdout] 715 | struct SeamDp {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 716 |     cost_fwd: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 717 |     cost_rev: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 721 |     seg_end: u32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     max_ink: f32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 725 |     row_ink: Vec<f32>,    // per-row ink fraction for ink_score/delta_ink_score
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `class_label` is never used
[INFO] [stdout]    --> src/font_scan.rs:519:4
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn class_label(c: FontClass) -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PxScale` and `ScaleFont`
[INFO] [stdout]   --> src/bin/learn_weights.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ab_glyph::{Font, FontRef, PxScale, ScaleFont};
[INFO] [stdout]    |                               ^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Luma`
[INFO] [stdout]   --> src/bin/learn_weights.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 | use image::{GrayImage, Luma};
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_vectorized_count`
[INFO] [stdout]   --> tests/t30_regression_ssim.rs:13:73
[INFO] [stdout]    |
[INFO] [stdout] 13 | use common::{setup, test_doc, run_unscan, parse_ssim, parse_font_match, parse_vectorized_count};
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_ONCE` is never used
[INFO] [stdout]   --> tests/common/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INDEX_ONCE: Once = Once::new();
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_index` is never used
[INFO] [stdout]   --> tests/common/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn ensure_index() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan` is never used
[INFO] [stdout]    --> tests/common/mod.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn run_unscan(input: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccuracyResult` is never constructed
[INFO] [stdout]    --> tests/common/mod.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub struct AccuracyResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `measure_accuracy` is never used
[INFO] [stdout]    --> tests/common/mod.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn measure_accuracy(raster: &Path, vector: &Path, label: &str) -> AccuracyResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_report_summary` is never used
[INFO] [stdout]    --> tests/common/mod.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn parse_report_summary(output: &str) -> (usize, usize, usize, usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_ONCE` is never used
[INFO] [stdout]   --> tests/common/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INDEX_ONCE: Once = Once::new();
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_index` is never used
[INFO] [stdout]   --> tests/common/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn ensure_index() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccuracyResult` is never constructed
[INFO] [stdout]    --> tests/common/mod.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub struct AccuracyResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `measure_accuracy` is never used
[INFO] [stdout]    --> tests/common/mod.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn measure_accuracy(raster: &Path, vector: &Path, label: &str) -> AccuracyResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_report_summary` is never used
[INFO] [stdout]    --> tests/common/mod.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn parse_report_summary(output: &str) -> (usize, usize, usize, usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_ONCE` is never used
[INFO] [stdout]   --> tests/common/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INDEX_ONCE: Once = Once::new();
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_index` is never used
[INFO] [stdout]   --> tests/common/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn ensure_index() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccuracyResult` is never constructed
[INFO] [stdout]    --> tests/common/mod.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub struct AccuracyResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `measure_accuracy` is never used
[INFO] [stdout]    --> tests/common/mod.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn measure_accuracy(raster: &Path, vector: &Path, label: &str) -> AccuracyResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_report_summary` is never used
[INFO] [stdout]    --> tests/common/mod.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn parse_report_summary(output: &str) -> (usize, usize, usize, usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Font`
[INFO] [stdout]  --> src/bin/feat_compare.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ab_glyph::{Font, FontRef};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::GrayImage`
[INFO] [stdout]  --> src/bin/feat_compare.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use image::GrayImage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan` is never used
[INFO] [stdout]    --> tests/common/mod.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn run_unscan(input: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_ONCE` is never used
[INFO] [stdout]   --> tests/common/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INDEX_ONCE: Once = Once::new();
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_index` is never used
[INFO] [stdout]   --> tests/common/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn ensure_index() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccuracyResult` is never constructed
[INFO] [stdout]    --> tests/common/mod.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub struct AccuracyResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `measure_accuracy` is never used
[INFO] [stdout]    --> tests/common/mod.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn measure_accuracy(raster: &Path, vector: &Path, label: &str) -> AccuracyResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_report_summary` is never used
[INFO] [stdout]    --> tests/common/mod.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn parse_report_summary(output: &str) -> (usize, usize, usize, usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Font`
[INFO] [stdout]  --> src/bin/dump_renders.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ab_glyph::{Font, FontRef};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/bin/ci_diag.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |     for (col, (name, path)) in fonts.iter().enumerate() {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ci_top_names`
[INFO] [stdout]    --> src/bin/ci_diag.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let ci_top_names: Vec<&str> = vec!["Impact", "Arial Bold", "Georgia Bold", "Times NR Bold Ital", "Verdana Bold Ital"];
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ci_top_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DynamicImage`
[INFO] [stdout]   --> src/bin/word_index_test.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use image::{DynamicImage, GrayImage, Luma};
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/bin/word_index_test.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PxScale` and `ScaleFont`
[INFO] [stdout]   --> src/bin/learn_weights.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ab_glyph::{Font, FontRef, PxScale, ScaleFont};
[INFO] [stdout]    |                               ^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Luma`
[INFO] [stdout]   --> src/bin/learn_weights.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 | use image::{GrayImage, Luma};
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_ONCE` is never used
[INFO] [stdout]   --> tests/common/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INDEX_ONCE: Once = Once::new();
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_index` is never used
[INFO] [stdout]   --> tests/common/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn ensure_index() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan` is never used
[INFO] [stdout]    --> tests/common/mod.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn run_unscan(input: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccuracyResult` is never constructed
[INFO] [stdout]    --> tests/common/mod.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub struct AccuracyResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `measure_accuracy` is never used
[INFO] [stdout]    --> tests/common/mod.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn measure_accuracy(raster: &Path, vector: &Path, label: &str) -> AccuracyResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_report_summary` is never used
[INFO] [stdout]    --> tests/common/mod.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn parse_report_summary(output: &str) -> (usize, usize, usize, usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Font`
[INFO] [stdout]  --> src/bin/feat_compare.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ab_glyph::{Font, FontRef};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::GrayImage`
[INFO] [stdout]  --> src/bin/feat_compare.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use image::GrayImage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Font`
[INFO] [stdout]  --> src/bin/dump_renders.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ab_glyph::{Font, FontRef};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan` is never used
[INFO] [stdout]    --> tests/common/mod.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn run_unscan(input: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan` is never used
[INFO] [stdout]    --> tests/common/mod.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn run_unscan(input: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CharFeatures`
[INFO] [stdout]   --> tests/t10_char_index_roundtrip.rs:15:76
[INFO] [stdout]    |
[INFO] [stdout] 15 |     render_char_normalised, search_candidates, GlyphOverrides, Variations, CharFeatures, FEAT_LEN,
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/bin/ci_diag.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |     for (col, (name, path)) in fonts.iter().enumerate() {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ci_top_names`
[INFO] [stdout]    --> src/bin/ci_diag.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let ci_top_names: Vec<&str> = vec!["Impact", "Arial Bold", "Georgia Bold", "Times NR Bold Ital", "Verdana Bold Ital"];
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ci_top_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> tests/t20_distance_analysis.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_ONCE` is never used
[INFO] [stdout]   --> tests/common/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INDEX_ONCE: Once = Once::new();
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_index` is never used
[INFO] [stdout]   --> tests/common/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn ensure_index() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_py` is never used
[INFO] [stdout]    --> tests/common/mod.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn rasterize_py() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raster_cache_ok` is never used
[INFO] [stdout]    --> tests/common/mod.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn raster_cache_ok(src: &Path, out_path: &Path) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_with` is never used
[INFO] [stdout]    --> tests/common/mod.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub fn rasterize_pdf_with(src: &Path, out_path: &Path, dpi: u32, aa: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_opts` is never used
[INFO] [stdout]    --> tests/common/mod.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub fn rasterize_pdf_opts(src: &Path, out_path: &Path, dpi: u32, aa: bool, threshold: bool, backend: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf` is never used
[INFO] [stdout]    --> tests/common/mod.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn rasterize_pdf(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_threshold` is never used
[INFO] [stdout]    --> tests/common/mod.rs:324:8
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub fn rasterize_pdf_threshold(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccuracyResult` is never constructed
[INFO] [stdout]    --> tests/common/mod.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub struct AccuracyResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `measure_accuracy` is never used
[INFO] [stdout]    --> tests/common/mod.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn measure_accuracy(raster: &Path, vector: &Path, label: &str) -> AccuracyResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_report_summary` is never used
[INFO] [stdout]    --> tests/common/mod.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn parse_report_summary(output: &str) -> (usize, usize, usize, usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_pdf`
[INFO] [stdout]    --> tests/common/mod.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let output_pdf = audit_dir.join("out.pdf");
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_pdf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EB_GARAMOND` is never used
[INFO] [stdout]   --> tests/common/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const EB_GARAMOND: &str = "/usr/share/fonts/opentype/ebgaramond/EBGaramond12-Regular.otf";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `python3` is never used
[INFO] [stdout]   --> tests/common/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn python3(code: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_png_to_pdf` is never used
[INFO] [stdout]   --> tests/common/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn convert_png_to_pdf(png: &Path, pdf: &Path, dpi: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_fixtures` is never used
[INFO] [stdout]   --> tests/common/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn ensure_fixtures() -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> tests/common/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn setup() -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan` is never used
[INFO] [stdout]    --> tests/common/mod.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn run_unscan(input: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_unscan_to` is never used
[INFO] [stdout]    --> tests/common/mod.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn run_unscan_to(input: &Path, output_path: &Path, extra_args: &[&str]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ssim` is never used
[INFO] [stdout]    --> tests/common/mod.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub fn parse_ssim(output: &str) -> Option<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_font_match` is never used
[INFO] [stdout]    --> tests/common/mod.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn parse_font_match(output: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_vectorized_count` is never used
[INFO] [stdout]    --> tests/common/mod.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub fn parse_vectorized_count(output: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_pdf_poppler` is never used
[INFO] [stdout]    --> tests/common/mod.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn rasterize_pdf_poppler(src: &Path, out_path: &Path, dpi: u32, aa: bool) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccuracyResult` is never constructed
[INFO] [stdout]    --> tests/common/mod.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub struct AccuracyResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `measure_accuracy` is never used
[INFO] [stdout]    --> tests/common/mod.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn measure_accuracy(raster: &Path, vector: &Path, label: &str) -> AccuracyResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_report_summary` is never used
[INFO] [stdout]    --> tests/common/mod.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn parse_report_summary(output: &str) -> (usize, usize, usize, usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DynamicImage`
[INFO] [stdout]   --> src/bin/word_index_test.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use image::{DynamicImage, GrayImage, Luma};
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/bin/word_index_test.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_idx`
[INFO] [stdout]   --> tests/t20_distance_analysis.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let self_idx = distances.iter().position(|d| d.0 == target_font).unwrap_or(0);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `centroid_fids`
[INFO] [stdout]    --> src/bin/train.rs:588:5
[INFO] [stdout]     |
[INFO] [stdout] 588 |     centroid_fids: &[u32],
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_centroid_fids`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `centroid_fids`
[INFO] [stdout]    --> src/bin/train.rs:588:5
[INFO] [stdout]     |
[INFO] [stdout] 588 |     centroid_fids: &[u32],
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_centroid_fids`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/report.rs:1164:47
[INFO] [stdout]      |
[INFO] [stdout] 1164 |             let pct = if gt_sz.abs() > 0.01 { (delta / gt_sz * 100.0) } else { 0.0 };
[INFO] [stdout]      |                                               ^                     ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1164 -             let pct = if gt_sz.abs() > 0.01 { (delta / gt_sz * 100.0) } else { 0.0 };
[INFO] [stdout] 1164 +             let pct = if gt_sz.abs() > 0.01 { delta / gt_sz * 100.0 } else { 0.0 };
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fid`
[INFO] [stdout]     --> src/bin/train.rs:1304:19
[INFO] [stdout]      |
[INFO] [stdout] 1304 |             for (&fid, indices) in &font_indices {
[INFO] [stdout]      |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fid`
[INFO] [stdout]     --> src/bin/train.rs:1594:19
[INFO] [stdout]      |
[INFO] [stdout] 1594 |             for (&fid, indices) in &font_indices {
[INFO] [stdout]      |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_char_at_native_height` is never used
[INFO] [stdout]    --> src/bin/train.rs:381:4
[INFO] [stdout]     |
[INFO] [stdout] 381 | fn render_char_at_native_height<F: Font>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/report.rs:1164:47
[INFO] [stdout]      |
[INFO] [stdout] 1164 |             let pct = if gt_sz.abs() > 0.01 { (delta / gt_sz * 100.0) } else { 0.0 };
[INFO] [stdout]      |                                               ^                     ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1164 -             let pct = if gt_sz.abs() > 0.01 { (delta / gt_sz * 100.0) } else { 0.0 };
[INFO] [stdout] 1164 +             let pct = if gt_sz.abs() > 0.01 { delta / gt_sz * 100.0 } else { 0.0 };
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fid`
[INFO] [stdout]     --> src/bin/train.rs:1304:19
[INFO] [stdout]      |
[INFO] [stdout] 1304 |             for (&fid, indices) in &font_indices {
[INFO] [stdout]      |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fid`
[INFO] [stdout]     --> src/bin/train.rs:1594:19
[INFO] [stdout]      |
[INFO] [stdout] 1594 |             for (&fid, indices) in &font_indices {
[INFO] [stdout]      |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_char_at_native_height` is never used
[INFO] [stdout]    --> src/bin/train.rs:381:4
[INFO] [stdout]     |
[INFO] [stdout] 381 | fn render_char_at_native_height<F: Font>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_dim`
[INFO] [stdout]    --> src/classifier.rs:830:13
[INFO] [stdout]     |
[INFO] [stdout] 830 |         let max_dim = dims.iter().max().copied().unwrap_or(0);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_dim`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_dim`
[INFO] [stdout]    --> src/classifier.rs:830:13
[INFO] [stdout]     |
[INFO] [stdout] 830 |         let max_dim = dims.iter().max().copied().unwrap_or(0);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_dim`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fig_label`
[INFO] [stdout]    --> src/font_scan.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 let fig_label = if fe.oldstyle_figures { "OLDSTYLE" } else { "lining" };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fig_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fig_label`
[INFO] [stdout]    --> src/font_scan.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 let fig_label = if fe.oldstyle_figures { "OLDSTYLE" } else { "lining" };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fig_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:619:29
[INFO] [stdout]     |
[INFO] [stdout] 619 |                         let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:649:33
[INFO] [stdout]     |
[INFO] [stdout] 649 | ...                   let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_h`
[INFO] [stdout]    --> src/ocr.rs:730:25
[INFO] [stdout]     |
[INFO] [stdout] 730 |                     let old_h = line.words[i].height;
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:619:29
[INFO] [stdout]     |
[INFO] [stdout] 619 |                         let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_w`
[INFO] [stdout]    --> src/ocr.rs:649:33
[INFO] [stdout]     |
[INFO] [stdout] 649 | ...                   let old_w = line.words[i - 1].width;
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_h`
[INFO] [stdout]    --> src/ocr.rs:730:25
[INFO] [stdout]     |
[INFO] [stdout] 730 |                     let old_h = line.words[i].height;
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/pdf_out.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wtext`
[INFO] [stdout]    --> src/segment.rs:311:30
[INFO] [stdout]     |
[INFO] [stdout] 311 |     if let (Some(ddir), Some(wtext)) = (diag_dir, word_text) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_wtext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `energy`
[INFO] [stdout]    --> src/segment.rs:732:34
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_ink`
[INFO] [stdout]    --> src/segment.rs:732:72
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_ink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/segment.rs:734:13
[INFO] [stdout]     |
[INFO] [stdout] 734 |         let base = self.seg_start as usize;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/pdf_out.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_count`
[INFO] [stdout]    --> src/ground_truth.rs:711:13
[INFO] [stdout]     |
[INFO] [stdout] 711 |         let page_count = doc.get_pages().len();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wtext`
[INFO] [stdout]    --> src/segment.rs:311:30
[INFO] [stdout]     |
[INFO] [stdout] 311 |     if let (Some(ddir), Some(wtext)) = (diag_dir, word_text) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_wtext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `energy`
[INFO] [stdout]    --> src/segment.rs:732:34
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_ink`
[INFO] [stdout]    --> src/segment.rs:732:72
[INFO] [stdout]     |
[INFO] [stdout] 732 |     fn trace_path_through(&self, energy: &[Vec<f32>], target_col: u32, row_ink: &[f32]) -> Vec<u32> {
[INFO] [stdout]     |                                                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_ink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/segment.rs:734:13
[INFO] [stdout]     |
[INFO] [stdout] 734 |         let base = self.seg_start as usize;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_count`
[INFO] [stdout]    --> src/ground_truth.rs:711:13
[INFO] [stdout]     |
[INFO] [stdout] 711 |         let page_count = doc.get_pages().len();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:57:15
[INFO] [stdout]    |
[INFO] [stdout] 57 |     if let Ok(s) = std::fs::read_to_string("/proc/sys/vm/overcommit_memory") {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |         if let Ok(s) = std::fs::read_to_string(path) {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rendered` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut rendered = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_rendered` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rendered` is never read
[INFO] [stdout]    --> src/main.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             rendered += 1;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:302:13
[INFO] [stdout]     |
[INFO] [stdout] 302 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `load_time`
[INFO] [stdout]    --> src/main.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 315 |     let load_time = start.elapsed();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_load_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indexed_count`
[INFO] [stdout]    --> src/main.rs:317:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |     let indexed_count = index.indexed_font_names().len();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexed_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skipped_count`
[INFO] [stdout]    --> src/main.rs:318:9
[INFO] [stdout]     |
[INFO] [stdout] 318 |     let skipped_count = index.skipped_fonts.len();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skipped_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 |         for name in removed_fonts.iter().take(10) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:345:13
[INFO] [stdout]     |
[INFO] [stdout] 345 |         for name in new_fonts.iter().take(10) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/main.rs:353:13
[INFO] [stdout]     |
[INFO] [stdout] 353 |         let start = std::time::Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_size`
[INFO] [stdout]    --> src/main.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |     let file_size = std::fs::metadata(&index_path).map(|m| m.len()).unwrap_or(0);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_count`
[INFO] [stdout]    --> src/main.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let final_count = char_index::count_fonts(&index);
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elapsed`
[INFO] [stdout]    --> src/main.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 |     let elapsed = start.elapsed();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sz`
[INFO] [stdout]    --> src/main.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |             let sz = std::fs::metadata(&index_path).map(|m| m.len()).unwrap_or(0);
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_sz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:431:13
[INFO] [stdout]     |
[INFO] [stdout] 431 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elapsed`
[INFO] [stdout]    --> src/main.rs:453:9
[INFO] [stdout]     |
[INFO] [stdout] 453 |     let elapsed = start.elapsed();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_size`
[INFO] [stdout]    --> src/main.rs:460:9
[INFO] [stdout]     |
[INFO] [stdout] 460 |     let file_size = std::fs::metadata(index_path).map(|m| m.len()).unwrap_or(0);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_entries`
[INFO] [stdout]    --> src/main.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 |     let n_entries: usize = index.n_entries();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_entries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:57:15
[INFO] [stdout]    |
[INFO] [stdout] 57 |     if let Ok(s) = std::fs::read_to_string("/proc/sys/vm/overcommit_memory") {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |         if let Ok(s) = std::fs::read_to_string(path) {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rendered` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut rendered = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_rendered` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rendered` is never read
[INFO] [stdout]    --> src/main.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             rendered += 1;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preview_end`
[INFO] [stdout]    --> src/main.rs:785:17
[INFO] [stdout]     |
[INFO] [stdout] 785 |             let preview_end = {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preview_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:796:25
[INFO] [stdout]     |
[INFO] [stdout] 796 |                     let mut total: u64 = 0;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_total` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `winner`
[INFO] [stdout]    --> src/main.rs:974:38
[INFO] [stdout]     |
[INFO] [stdout] 974 |                         if let Some((ref winner, _)) = best {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total` is never read
[INFO] [stdout]    --> src/main.rs:801:37
[INFO] [stdout]     |
[INFO] [stdout] 801 | ...                   total += e - s;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:302:13
[INFO] [stdout]     |
[INFO] [stdout] 302 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `load_time`
[INFO] [stdout]    --> src/main.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 315 |     let load_time = start.elapsed();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_load_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indexed_count`
[INFO] [stdout]    --> src/main.rs:317:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |     let indexed_count = index.indexed_font_names().len();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexed_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skipped_count`
[INFO] [stdout]    --> src/main.rs:318:9
[INFO] [stdout]     |
[INFO] [stdout] 318 |     let skipped_count = index.skipped_fonts.len();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skipped_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 |         for name in removed_fonts.iter().take(10) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:345:13
[INFO] [stdout]     |
[INFO] [stdout] 345 |         for name in new_fonts.iter().take(10) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/main.rs:353:13
[INFO] [stdout]     |
[INFO] [stdout] 353 |         let start = std::time::Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_size`
[INFO] [stdout]    --> src/main.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |     let file_size = std::fs::metadata(&index_path).map(|m| m.len()).unwrap_or(0);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_count`
[INFO] [stdout]    --> src/main.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let final_count = char_index::count_fonts(&index);
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/main.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let start = std::time::Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_entries`
[INFO] [stdout]    --> src/main.rs:497:21
[INFO] [stdout]     |
[INFO] [stdout] 497 |                 let n_entries: usize = index.n_entries();
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_entries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:506:17
[INFO] [stdout]     |
[INFO] [stdout] 506 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raster_elapsed`
[INFO] [stdout]    --> src/main.rs:562:9
[INFO] [stdout]     |
[INFO] [stdout] 562 |     let raster_elapsed = raster_start.elapsed();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raster_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_lines_vectorized` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:579:9
[INFO] [stdout]     |
[INFO] [stdout] 579 |     let mut stat_lines_vectorized = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_lines_vectorized` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elapsed`
[INFO] [stdout]    --> src/main.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 |     let elapsed = start.elapsed();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_lines_raster` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:580:9
[INFO] [stdout]     |
[INFO] [stdout] 580 |     let mut stat_lines_raster = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_lines_raster` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_geo_elements` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:581:9
[INFO] [stdout]     |
[INFO] [stdout] 581 |     let mut stat_geo_elements = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_geo_elements` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sz`
[INFO] [stdout]    --> src/main.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |             let sz = std::fs::metadata(&index_path).map(|m| m.len()).unwrap_or(0);
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_sz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_raster_frags` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:582:9
[INFO] [stdout]     |
[INFO] [stdout] 582 |     let mut stat_raster_frags = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_raster_frags` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:431:13
[INFO] [stdout]     |
[INFO] [stdout] 431 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:593:17
[INFO] [stdout]     |
[INFO] [stdout] 593 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ocr_cached`
[INFO] [stdout]    --> src/main.rs:655:46
[INFO] [stdout]     |
[INFO] [stdout] 655 |         let (word_regions, _page_char_boxes, ocr_cached) =
[INFO] [stdout]     |                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ocr_cached`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ocr_elapsed`
[INFO] [stdout]    --> src/main.rs:671:13
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let ocr_elapsed = ocr_start.elapsed();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ocr_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]     --> src/main.rs:1225:35
[INFO] [stdout]      |
[INFO] [stdout] 1225 |             if let Some((top_key, count)) = font_freq.iter().max_by_key(|(_, c)| *c) {
[INFO] [stdout]      |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fontmatch_elapsed`
[INFO] [stdout]     --> src/main.rs:1235:13
[INFO] [stdout]      |
[INFO] [stdout] 1235 |         let fontmatch_elapsed = fontmatch_start.elapsed();
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fontmatch_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `majority_name`
[INFO] [stdout]     --> src/main.rs:1278:30
[INFO] [stdout]      |
[INFO] [stdout] 1278 |                 if let Some((majority_name, (majority_count, _majority_path))) = font_freq.iter()
[INFO] [stdout]      |                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_majority_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `majority_count`
[INFO] [stdout]     --> src/main.rs:1278:46
[INFO] [stdout]      |
[INFO] [stdout] 1278 |                 if let Some((majority_name, (majority_count, _majority_path))) = font_freq.iter()
[INFO] [stdout]      |                                              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_majority_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elapsed`
[INFO] [stdout]    --> src/main.rs:453:9
[INFO] [stdout]     |
[INFO] [stdout] 453 |     let elapsed = start.elapsed();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_body`
[INFO] [stdout]     --> src/main.rs:1281:25
[INFO] [stdout]      |
[INFO] [stdout] 1281 |                     let total_body: u32 = font_freq.values().map(|(c, _)| c).sum();
[INFO] [stdout]      |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_size`
[INFO] [stdout]    --> src/main.rs:460:9
[INFO] [stdout]     |
[INFO] [stdout] 460 |     let file_size = std::fs::metadata(index_path).map(|m| m.len()).unwrap_or(0);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verify_start`
[INFO] [stdout]     --> src/main.rs:1300:13
[INFO] [stdout]      |
[INFO] [stdout] 1300 |         let verify_start = std::time::Instant::now();
[INFO] [stdout]      |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_entries`
[INFO] [stdout]    --> src/main.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 |     let n_entries: usize = index.n_entries();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_entries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verify_count`
[INFO] [stdout]     --> src/main.rs:1343:13
[INFO] [stdout]      |
[INFO] [stdout] 1343 |         let verify_count = ssim_results.iter().filter(|(s, _)| s.is_some()).count() as u32;
[INFO] [stdout]      |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fname`
[INFO] [stdout]     --> src/main.rs:1384:21
[INFO] [stdout]      |
[INFO] [stdout] 1384 |                 let fname = font_result.as_ref().map(|f| f.font_name.as_str()).unwrap_or("?");
[INFO] [stdout]      |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fscore`
[INFO] [stdout]     --> src/main.rs:1385:21
[INFO] [stdout]      |
[INFO] [stdout] 1385 |                 let fscore = font_result.as_ref().map(|f| f.score).unwrap_or(0.0);
[INFO] [stdout]      |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fscore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ssim_part`
[INFO] [stdout]     --> src/main.rs:1386:21
[INFO] [stdout]      |
[INFO] [stdout] 1386 |                 let ssim_part = ssim_score
[INFO] [stdout]      |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ssim_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frag_bytes`
[INFO] [stdout]     --> src/main.rs:1656:21
[INFO] [stdout]      |
[INFO] [stdout] 1656 |                 let frag_bytes: usize = raster_fragments.iter().map(|f| f.raw_rgb.len()).sum();
[INFO] [stdout]      |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frag_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1675:24
[INFO] [stdout]      |
[INFO] [stdout] 1675 |             if let Err(e) = compare::generate_comparison(
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1758:24
[INFO] [stdout]      |
[INFO] [stdout] 1758 |             if let Err(e) = audit.write_to_file(&audit_path) {
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1762:24
[INFO] [stdout]      |
[INFO] [stdout] 1762 |             if let Err(e) = report::generate_report(
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1778:20
[INFO] [stdout]      |
[INFO] [stdout] 1778 |         if let Err(e) = audit.write_to_file(&audit_path) {
[INFO] [stdout]      |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1786:20
[INFO] [stdout]      |
[INFO] [stdout] 1786 |         if let Err(e) = report::generate_report(
[INFO] [stdout]      |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache_hits`
[INFO] [stdout]     --> src/main.rs:1798:10
[INFO] [stdout]      |
[INFO] [stdout] 1798 |     let (cache_hits, cache_misses) = font_cache.stats();
[INFO] [stdout]      |          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_hits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache_misses`
[INFO] [stdout]     --> src/main.rs:1798:22
[INFO] [stdout]      |
[INFO] [stdout] 1798 |     let (cache_hits, cache_misses) = font_cache.stats();
[INFO] [stdout]      |                      ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_misses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_lines_vectorized` is never read
[INFO] [stdout]     --> src/main.rs:1556:9
[INFO] [stdout]      |
[INFO] [stdout] 1556 |         stat_lines_vectorized += pg_vec;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_lines_raster` is never read
[INFO] [stdout]     --> src/main.rs:1557:9
[INFO] [stdout]      |
[INFO] [stdout] 1557 |         stat_lines_raster += pg_raster;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_geo_elements` is never read
[INFO] [stdout]     --> src/main.rs:1594:13
[INFO] [stdout]      |
[INFO] [stdout] 1594 |             stat_geo_elements += count as u32;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_raster_frags` is never read
[INFO] [stdout]     --> src/main.rs:1651:9
[INFO] [stdout]      |
[INFO] [stdout] 1651 |         stat_raster_frags += raster_fragments.len() as u32;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1964:13
[INFO] [stdout]      |
[INFO] [stdout] 1964 |         Err(e) => {
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ClassifierIndex` is more private than the item `Classifier`
[INFO] [stdout]   --> src/classifier.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub trait Classifier: ClassifierIndex + Send + Sync {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `Classifier` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `ClassifierIndex` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/classifier.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub(crate) trait ClassifierIndex {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mem_info` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn mem_info() -> String {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `truncate_str` is never used
[INFO] [stdout]     --> src/main.rs:1939:4
[INFO] [stdout]      |
[INFO] [stdout] 1939 | fn truncate_str(s: &str, max: usize) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `class_label` is never used
[INFO] [stdout]    --> src/font_scan.rs:519:4
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn class_label(c: FontClass) -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `weight` is never read
[INFO] [stdout]    --> src/font_scan.rs:889:9
[INFO] [stdout]     |
[INFO] [stdout] 885 | pub struct FontIdentity {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 889 |     pub weight: u16,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FontIdentity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `weight_bucket` is never used
[INFO] [stdout]    --> src/font_scan.rs:896:12
[INFO] [stdout]     |
[INFO] [stdout] 894 | impl FontIdentity {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] 895 |     /// Weight bucket: 100-unit ranges (400–499 = Regular, 500–599 = Medium, etc.)
[INFO] [stdout] 896 |     pub fn weight_bucket(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nearest_within_factor_brute` is never used
[INFO] [stdout]    --> src/char_index.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn nearest_within_factor_brute(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cost_fwd`, `cost_rev`, `seg_end`, `max_ink`, and `row_ink` are never read
[INFO] [stdout]    --> src/segment.rs:716:5
[INFO] [stdout]     |
[INFO] [stdout] 715 | struct SeamDp {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 716 |     cost_fwd: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 717 |     cost_rev: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 721 |     seg_end: u32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     max_ink: f32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 725 |     row_ink: Vec<f32>,    // per-row ink fraction for ink_score/delta_ink_score
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preview_end`
[INFO] [stdout]    --> src/main.rs:785:17
[INFO] [stdout]     |
[INFO] [stdout] 785 |             let preview_end = {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preview_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:796:25
[INFO] [stdout]     |
[INFO] [stdout] 796 |                     let mut total: u64 = 0;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_total` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `winner`
[INFO] [stdout]    --> src/main.rs:974:38
[INFO] [stdout]     |
[INFO] [stdout] 974 |                         if let Some((ref winner, _)) = best {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total` is never read
[INFO] [stdout]    --> src/main.rs:801:37
[INFO] [stdout]     |
[INFO] [stdout] 801 | ...                   total += e - s;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/main.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let start = std::time::Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_entries`
[INFO] [stdout]    --> src/main.rs:497:21
[INFO] [stdout]     |
[INFO] [stdout] 497 |                 let n_entries: usize = index.n_entries();
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_entries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:506:17
[INFO] [stdout]     |
[INFO] [stdout] 506 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raster_elapsed`
[INFO] [stdout]    --> src/main.rs:562:9
[INFO] [stdout]     |
[INFO] [stdout] 562 |     let raster_elapsed = raster_start.elapsed();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raster_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_lines_vectorized` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:579:9
[INFO] [stdout]     |
[INFO] [stdout] 579 |     let mut stat_lines_vectorized = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_lines_vectorized` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_lines_raster` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:580:9
[INFO] [stdout]     |
[INFO] [stdout] 580 |     let mut stat_lines_raster = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_lines_raster` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_geo_elements` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:581:9
[INFO] [stdout]     |
[INFO] [stdout] 581 |     let mut stat_geo_elements = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_geo_elements` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stat_raster_frags` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:582:9
[INFO] [stdout]     |
[INFO] [stdout] 582 |     let mut stat_raster_frags = 0u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_stat_raster_frags` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:593:17
[INFO] [stdout]     |
[INFO] [stdout] 593 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ocr_cached`
[INFO] [stdout]    --> src/main.rs:655:46
[INFO] [stdout]     |
[INFO] [stdout] 655 |         let (word_regions, _page_char_boxes, ocr_cached) =
[INFO] [stdout]     |                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ocr_cached`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ocr_elapsed`
[INFO] [stdout]    --> src/main.rs:671:13
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let ocr_elapsed = ocr_start.elapsed();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ocr_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]     --> src/main.rs:1225:35
[INFO] [stdout]      |
[INFO] [stdout] 1225 |             if let Some((top_key, count)) = font_freq.iter().max_by_key(|(_, c)| *c) {
[INFO] [stdout]      |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fontmatch_elapsed`
[INFO] [stdout]     --> src/main.rs:1235:13
[INFO] [stdout]      |
[INFO] [stdout] 1235 |         let fontmatch_elapsed = fontmatch_start.elapsed();
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fontmatch_elapsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `majority_name`
[INFO] [stdout]     --> src/main.rs:1278:30
[INFO] [stdout]      |
[INFO] [stdout] 1278 |                 if let Some((majority_name, (majority_count, _majority_path))) = font_freq.iter()
[INFO] [stdout]      |                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_majority_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `majority_count`
[INFO] [stdout]     --> src/main.rs:1278:46
[INFO] [stdout]      |
[INFO] [stdout] 1278 |                 if let Some((majority_name, (majority_count, _majority_path))) = font_freq.iter()
[INFO] [stdout]      |                                              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_majority_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_body`
[INFO] [stdout]     --> src/main.rs:1281:25
[INFO] [stdout]      |
[INFO] [stdout] 1281 |                     let total_body: u32 = font_freq.values().map(|(c, _)| c).sum();
[INFO] [stdout]      |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verify_start`
[INFO] [stdout]     --> src/main.rs:1300:13
[INFO] [stdout]      |
[INFO] [stdout] 1300 |         let verify_start = std::time::Instant::now();
[INFO] [stdout]      |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verify_count`
[INFO] [stdout]     --> src/main.rs:1343:13
[INFO] [stdout]      |
[INFO] [stdout] 1343 |         let verify_count = ssim_results.iter().filter(|(s, _)| s.is_some()).count() as u32;
[INFO] [stdout]      |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fname`
[INFO] [stdout]     --> src/main.rs:1384:21
[INFO] [stdout]      |
[INFO] [stdout] 1384 |                 let fname = font_result.as_ref().map(|f| f.font_name.as_str()).unwrap_or("?");
[INFO] [stdout]      |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fscore`
[INFO] [stdout]     --> src/main.rs:1385:21
[INFO] [stdout]      |
[INFO] [stdout] 1385 |                 let fscore = font_result.as_ref().map(|f| f.score).unwrap_or(0.0);
[INFO] [stdout]      |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fscore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ssim_part`
[INFO] [stdout]     --> src/main.rs:1386:21
[INFO] [stdout]      |
[INFO] [stdout] 1386 |                 let ssim_part = ssim_score
[INFO] [stdout]      |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ssim_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frag_bytes`
[INFO] [stdout]     --> src/main.rs:1656:21
[INFO] [stdout]      |
[INFO] [stdout] 1656 |                 let frag_bytes: usize = raster_fragments.iter().map(|f| f.raw_rgb.len()).sum();
[INFO] [stdout]      |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frag_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1675:24
[INFO] [stdout]      |
[INFO] [stdout] 1675 |             if let Err(e) = compare::generate_comparison(
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1758:24
[INFO] [stdout]      |
[INFO] [stdout] 1758 |             if let Err(e) = audit.write_to_file(&audit_path) {
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1762:24
[INFO] [stdout]      |
[INFO] [stdout] 1762 |             if let Err(e) = report::generate_report(
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1778:20
[INFO] [stdout]      |
[INFO] [stdout] 1778 |         if let Err(e) = audit.write_to_file(&audit_path) {
[INFO] [stdout]      |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1786:20
[INFO] [stdout]      |
[INFO] [stdout] 1786 |         if let Err(e) = report::generate_report(
[INFO] [stdout]      |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache_hits`
[INFO] [stdout]     --> src/main.rs:1798:10
[INFO] [stdout]      |
[INFO] [stdout] 1798 |     let (cache_hits, cache_misses) = font_cache.stats();
[INFO] [stdout]      |          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_hits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache_misses`
[INFO] [stdout]     --> src/main.rs:1798:22
[INFO] [stdout]      |
[INFO] [stdout] 1798 |     let (cache_hits, cache_misses) = font_cache.stats();
[INFO] [stdout]      |                      ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_misses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_lines_vectorized` is never read
[INFO] [stdout]     --> src/main.rs:1556:9
[INFO] [stdout]      |
[INFO] [stdout] 1556 |         stat_lines_vectorized += pg_vec;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_lines_raster` is never read
[INFO] [stdout]     --> src/main.rs:1557:9
[INFO] [stdout]      |
[INFO] [stdout] 1557 |         stat_lines_raster += pg_raster;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_geo_elements` is never read
[INFO] [stdout]     --> src/main.rs:1594:13
[INFO] [stdout]      |
[INFO] [stdout] 1594 |             stat_geo_elements += count as u32;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stat_raster_frags` is never read
[INFO] [stdout]     --> src/main.rs:1651:9
[INFO] [stdout]      |
[INFO] [stdout] 1651 |         stat_raster_frags += raster_fragments.len() as u32;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1964:13
[INFO] [stdout]      |
[INFO] [stdout] 1964 |         Err(e) => {
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ClassifierIndex` is more private than the item `Classifier`
[INFO] [stdout]   --> src/classifier.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub trait Classifier: ClassifierIndex + Send + Sync {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `Classifier` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `ClassifierIndex` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/classifier.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub(crate) trait ClassifierIndex {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mem_info` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn mem_info() -> String {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `truncate_str` is never used
[INFO] [stdout]     --> src/main.rs:1939:4
[INFO] [stdout]      |
[INFO] [stdout] 1939 | fn truncate_str(s: &str, max: usize) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `class_label` is never used
[INFO] [stdout]    --> src/font_scan.rs:519:4
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn class_label(c: FontClass) -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `weight` is never read
[INFO] [stdout]    --> src/font_scan.rs:889:9
[INFO] [stdout]     |
[INFO] [stdout] 885 | pub struct FontIdentity {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 889 |     pub weight: u16,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FontIdentity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `weight_bucket` is never used
[INFO] [stdout]    --> src/font_scan.rs:896:12
[INFO] [stdout]     |
[INFO] [stdout] 894 | impl FontIdentity {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] 895 |     /// Weight bucket: 100-unit ranges (400–499 = Regular, 500–599 = Medium, etc.)
[INFO] [stdout] 896 |     pub fn weight_bucket(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nearest_within_factor_brute` is never used
[INFO] [stdout]    --> src/char_index.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn nearest_within_factor_brute(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cost_fwd`, `cost_rev`, `seg_end`, `max_ink`, and `row_ink` are never read
[INFO] [stdout]    --> src/segment.rs:716:5
[INFO] [stdout]     |
[INFO] [stdout] 715 | struct SeamDp {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 716 |     cost_fwd: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 717 |     cost_rev: Vec<f32>,   // flat [row * seg_w + col]
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 721 |     seg_end: u32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     max_ink: f32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 725 |     row_ink: Vec<f32>,    // per-row ink fraction for ink_score/delta_ink_score
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b", kill_on_drop: false }`
[INFO] [stdout] a597bfd13b0751f90d7f68d88d76707a9ac99b709bfaf6e1fae859a646c5a86b
